//
//  QSmallTicketVC.m
//  QoilPublic
//
//  Created by zhuang on 16/12/13.
//  Copyright © 2016年 杨凯. All rights reserved.
//

#import "QSmallTicketVC.h"
#import "PYPhotosView.h"
@interface QSmallTicketVC ()

@end

@implementation QSmallTicketVC{

  
}

- (void)viewDidLoad {
    [super viewDidLoad];
    self.title = @"查看小票";
    
    // 创建一个流水布局photosView(默认为流水布局)
    PYPhotosView *flowPhotosView = [PYPhotosView photosView];
    // 设置缩略图数组
    flowPhotosView.thumbnailUrls = self.arrs;
    // 设置原图地址
    flowPhotosView.originalUrls = self.arrs;
    // 设置分页指示类型
    flowPhotosView.pageType = PYPhotosViewPageTypeLabel;
    flowPhotosView.py_centerX = self.view.py_centerX;
    flowPhotosView.py_y = 20 + (kNavHeight+kStatusHeight);
    
    // 3. 添加到指定视图中
    [self.view addSubview:flowPhotosView];
}


@end
